var checkToken = require("../middleware/checkToken");
module.exports = function (app) {
  	app.use('/api', require('./routes'))

  	//404页面
	app.use(function (req, res) {
	  	if (!res.headersSent) {
	    	res.send('404.html');
	  	}
	});
};
